home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / 2act30.zip / 2ACT.DOC < prev    next >
Text File  |  1993-01-16  |  54KB  |  1,305 lines

  1.  
  2.  
  3.  
  4.                              Second Account
  5.  
  6.                           copyright 1991, 1992, 1993
  7.                             by Dalaye Gabriel
  8.  
  9.  
  10.                        Polymath One of Trenton, NJ
  11.  
  12.                      (609) 392-5953    CIS 70017,1667
  13.                                           
  14.  
  15.   Virtually seamless interface to allow leaving PCBoard, loading a
  16. second copy of PCBoard, with the proper User info   being
  17. loaded without User input.
  18.  
  19.  Intended to allow a Sysop to use a second Users file for 
  20. separate account access, including the use of aliases, and
  21. even a separate Cnames file to allow different conference
  22. access, and any other PCBoard configuration files (Tcan,
  23. Pwrd, Upsec, etc.).
  24.  
  25.  This is expected to be used only with PCBoard versions
  26. of 14.0 and higher.  Future versions may require the use of
  27. PCBoard versions of 14.5a or newer.
  28.  
  29.  Use of MS-DOS 3.30 or newer, is required.
  30.  
  31.  All modem initialization and control is maintained by the
  32. first loaded copy of PCBoard (except non-standard COM ports)
  33.  
  34.  Fully functioning while not registered, only user display
  35. control is inhibited, though nag screens will grow.
  36.  
  37.  No BRUN45.EXE runtime module required.
  38.  
  39. Contents
  40. Introduction    ........................     1
  41. Method          ........................     1
  42. Features        ........................     2
  43. License to Use and Distribute  .........     3 
  44. Why Second Account  ....................     4
  45. Solution            ....................     5
  46. Security            ....................     6
  47. New Since Its First Release    .........     7
  48. Quick Set-Up        ....................     8
  49. Set-Up              ....................     9     
  50. Files Included in the 2ACT##.ZIP  ......    11
  51. Files that will be Created by 2ACT.ZIP .    11  
  52. Miscellaneous       ....................    11
  53. Files Detail        ....................    12
  54. Description         ....................    13  
  55. 2ACT.CFG            ....................    16
  56. 2ACTADD.EXE         ....................    19
  57. 1STTIME             ....................    20
  58. Board Files         ....................    21  
  59. OFF                 ....................    23
  60. Errors              ....................    23
  61. Maintenance         ....................    24
  62. Available Command for Maintenance  .....    24 
  63. Applications        ....................    26 
  64. Questions and Answers  .................    31
  65.  
  66. Introduction:
  67.  
  68.     This text makes reference to all in the male gender for
  69.  the sake of brevity, but in all cases this refers to both
  70.  male and female.
  71.  
  72.     This text is not complete on setting up doors, or a copy
  73.  of PCBoard.  It is assumed you have purchased PCBoard and
  74.  have all needed docs on proper BAT files, and the use of
  75.  PCBSETUP.EXE, MKTXT145.EXE and other required support files
  76.  from Clark Development.
  77.  
  78.     2ACT has been installed on single and multi-nodes
  79. systems, with DesqView and under LANtastic.  Multiple
  80. copies of 2ACT are in use on a single BBS, and doors are
  81. properly accessed while in 2ACT.  It is in successful use on
  82. non-standard com ports under DesqView.
  83.   
  84.   2ACT is not a door, but is a utility, accessed via door methods.
  85.  
  86.  Method:
  87.  
  88.   Read PCBOARD.SYS file, creating a new PCBOARD.SYS in new
  89.  sub-dir with all changes needed to properly access a second
  90.  (and different) USERS  file than the first PCBOARD.SYS
  91.  refers to.  This requires accessing the following files
  92.  from area leaving: PCBOARD.SYS, Users.
  93.   And accessing the following files for the new PCBoard
  94.  area:  PCBOARD.SYS, USERS, PWRD.
  95.   It will write a new BAT file, 2ACT$.BAT called from the
  96.  first account (from the PCB written DOOR.BAT)
  97.   The user is always placed in Conference 0 upon entry via
  98.  2ACT.
  99.   All major functions occurring during 2ACT processing will
  100.  be written to the specified CALLERS file.
  101.  
  102.   New users entering the Second Account will automatically
  103. be entered based upon sysop configuration.
  104.  
  105.  Features:
  106.  
  107.   ALL PCBOARD INTEGRITY MAINTAINED! PCboard security is
  108.  responsible for virtually all Sysop control over Second
  109.  Account access
  110.  
  111.   Carrier Loss, Modem Speed, Networking, Inactivity,
  112. Security Levels, etc ALL are limited only by PCBoard and the
  113. Sysop - NOT this program
  114.  
  115.  Fast, seamless, with NO interaction required by the User
  116. after the first time ever in Second Account!
  117.  
  118.  Unlimited Conferences and access control actual
  119. possibilities by the Sysop are VIRTUALLY UNLIMITED - No
  120. computer has yet been built that can be configured for all
  121. of them at one time!) - the only real limit is Sysop
  122. imagination.
  123.  
  124.  NO MENUS OR NOTICES DISPLAYED TO USER (except 1 short
  125. sentence at run time - not even that, in some instances) -
  126. SEAMLESS!!
  127.  
  128.  Sysop Alias?  No problem!
  129.  
  130.  NO User prompting for Alias!  Seamlessly loaded by Second
  131. Account!
  132.  
  133.  Allows sharing of 100% of the PCBoard files (except
  134. PCBoard.sys) with first account if so desired
  135.  
  136.  Allows Second Account to load a separate Users file,
  137. separate PCBOARD.DAT, CNAMES, PWRD, PCBTEXT, BRDM (and
  138. anything else!) if desired to allow different conferences,
  139. file access, menus, aliases, security levels, files ratios,
  140. and anything else you can dream up.
  141.  
  142.  Separate maintenance program for LOCKing out, or ALLOWing
  143. (or disALLOWing) individual Users to the Second Account
  144.  
  145.  All maintenance to actual second account Users via PCBoard
  146. only.  Sysop record 1 security
  147.  
  148.  Can be configured as entirely INVISIBLE to Users not-Sysop
  149. defined
  150.  
  151.  Fully functional while Unregistered, just not seamless nor
  152. invisible
  153.  
  154.  Non-standard COM ports supported
  155.  
  156.  License to Use and Distribute:
  157.  
  158.  PCBoard is a registered trademark of Clark Development
  159. Corp, and all reference to such is here to identify their
  160. software, and the proper expected use of Second Account in
  161. conjunction with such software.
  162.  
  163.  All programs released relative to Second Account,
  164. including, but not limited to 2ACT.EXE, 2ACTCVT.EXE,
  165. 2ACTADD.EXE, 2ACTSM.EXE are copyrighted by Dalaye Gabriel,
  166. and all rights are reserved by the author. No alterations
  167. may be made in any manner to the distributed group of files
  168. composing the Second Account package except by the author,
  169. either individually or as a whole.
  170.  
  171.  Anyone has the right to distribute unaltered copies of the
  172. entire Second Account package as a whole, without further
  173. permission.
  174.  
  175.  The Second Account package is released without a warranty
  176. for any specific  purpose whatsoever, and anyone using any
  177. portion of this software package  has no claim upon the
  178. author for damages, and uses such software at his/her own
  179. risk.
  180.  
  181.  All software is distributed freely through Bulletin Board
  182. Systems and no person or company is allowed to charge any
  183. fee for distributing any portion of the Second Account
  184. package without separate license from the author.  Under US
  185. copyright law, full compensation, including all legal fees
  186. incurred, will be recovered from violators of this license.
  187.  
  188.  The only acceptable fee under this license is any amount
  189. required for only diskette and postage costs when
  190. distributed in such manner by any not-for-profit group,
  191. whether a computer User's Group, or a public Bulletin Board
  192. System.  No compensation for service or labor to provide
  193. diskette copies is allowed under this license.
  194.  
  195.  No use is allowed of Second Account on any system for a
  196. period of more than 45 days of evaluation without
  197. registration.  It is distributed under the "shareware"
  198. concept, to allow a proper trial period before
  199. registering, and is not free software, nor in the public
  200. domain.
  201.  
  202.  Why Second Account?
  203.  
  204.     My BBS has considerable adult and non-adult traffic of
  205.  Users, and I found it best to entirely segregate the two
  206.  areas.  I'm aware that many merely open a second BBS. 
  207.  Meanwhile, any users visiting the adult conferences wish to
  208.  use aliases to leave messages.  I tried another
  209.  alternative, but was I wasn't happy with its operation, or
  210.  the idea I could do little to control access as I chose to.
  211.  
  212.     Meanwhile, I found it nice to segregate credits of
  213.  Uploads/Downloads to a users record from the 2 areas, and
  214.  seriously considered doing what so many people eventually
  215.  do: open a second, adults-only BBS, leaving the first
  216.  alone.  I considered this unacceptable, as it would mean
  217.  more work for the user to visit both, and tie up all my
  218.  equipment separately, stop node chats, and other such.
  219.  
  220.     So, I found it best to create a new sub-directory, one
  221.  for each node on the system, and setup a separate BBS
  222.  entirely, but, to be accessed as a door from the first BBS.
  223.  
  224.  This wastes very little disk space, as most files can be
  225.  shared with the first.
  226.  
  227.     The problem with initially calling the second board from
  228.  the first?
  229.  Users hated the idea of having to logon a second time, and
  230.  I hated the maintenance headache of seeing who opened a
  231.  second account in the second board loaded, as, when it
  232.  prompts for a name, more than 1 user chose to open new
  233.  additional accounts for himself.  Major headache as the
  234.  number of users grew!
  235.  
  236.  Solution:
  237.  
  238.     Second Account!  It lets you set up a second BBS as a
  239.  door from the first BBS, loading all user information
  240.  needed with the information you configure within the
  241.  2ACT.CFG file. 2ACT.CFG must be in the sub-directory that
  242.  2ACT is called from.
  243.   
  244.     Many users of this software will enjoy the tremendous
  245.  flexibility it now gives a PCBoard Sysop.  The first
  246.  account that users log on to the BBS with can now be used
  247.  as a "front end" to cleanly load additional accounts, which
  248.  need not share any information with the first, or share as
  249.  much as desired.  Some configurations take extremely little
  250.  additional disk space, and allow the Sysop literally twice
  251.  the possible configurations for a single BBS as compared to
  252.  the already enormous number allowed under PCBoard!  The
  253.  Sysop may choose to actually run an entirely separate BBS
  254.  as a Second Account, with no time constraints being shared,
  255.  or files, and even the Sysop responsibilities need not be
  256.  shared.
  257.  
  258.     Imagine running 2 (or more!) entirely separate Bulletin
  259.  Board Systems from the same phone line, and still
  260.  maintaining the complete security of PCBoard!  And, the
  261.  user only needs one logon per phone call!
  262.  
  263.     My BBS now runs several sub-boards in this manner, each
  264.  a Private BBS for a separate purpose.  Example:  A software
  265.  author provides support on my BBS to registered users of
  266.  his software.  Prior to the use of Second Account, the
  267.  Sysop (me) had to assign certain levels and do the
  268.  maintenance of the Support Conference involved.  Now, the
  269.  entire job is under that author's control, and his
  270.  registered users are placed by him, and can freely upload,
  271.  download and read messages with no impact upon their time
  272.  or status on the "normal" BBS!
  273.  
  274.  Security:
  275.  
  276.   Record #1 of the USERS file (second account) can only be
  277.  accessed by record #1 of first account USERS file.  In no
  278.  place is the Sysop password checked for or written by this
  279.  program.  LOCK and ALLOW features are now available,
  280.  letting the Sysop run this program with ability to LOCK
  281.  anyone not entered by him, or to LOCK individual users from
  282.  access.  The ALLOW feature is similar to LOCK, but lets the
  283.  Sysop have a more polite method of not allowing a User
  284.  access to the Second Account than LOCK would be used for.
  285.  It is meant to be used where a Sysop chooses to allow a New
  286.  User to the Second Account, but must review his status
  287.  before actual access allowed.  Using LOCK and ALLOW
  288.  combined with the security of PCBoard gives the Sysop
  289.  tremendous flexibility in controlling access as he sees
  290.  fit. All normal PCBoard security remains in full force, as
  291.  this program does not supercede PCBoard, but merely allows
  292.  the PCBoard security to take over.
  293.  
  294.   Any unusual occurences are handled almost entirely by the
  295.  exisiting (and well-proven) PCBoard software.  Please read
  296.  elsewhere about the value of the "dummy PCBoard.sys" file
  297.  if you have non-modem Users on your system - this should be
  298.  taken into account by any such Sysop not using the PCBoard
  299.  parameter of checking for a User's Password upon return
  300.  from a Door.  Properly setup, the loss of carrier detect
  301.  handles such situations where modems are in use.
  302.  
  303.  New Since Its First Release:
  304.  
  305.   Ability to force Users to read NEWS, messages etc the
  306.  first time accessing the Second Account each day.
  307.  
  308.   The word PCBoard has been dropped, and the PCB prefix has
  309.  been dropped to insure no conflict with the trademark
  310.  "PCBoard" of Clark Development, and to insure no one
  311.  receives any impression that this program is endorsed by
  312.  the authors of PCBoard.
  313.  
  314.   Better documentation!
  315.  
  316.   File holds 1st Account & 2nd Account User Names, and flags
  317.  to control access to the Second Account Writes all
  318.  important occurrences to the CALLERS file.
  319.  
  320.   Better security, including self-check.
  321.  
  322.   Automatically can add New Second Account Users for access!
  323.  
  324.   Separate maintenance program to control access to the
  325.  Second Account
  326.  
  327.   Very good error-trapping capabilities
  328.  
  329.   Sysop definable messages for LOCKed out Users
  330.  
  331.   Can enter any New User in for access to the Second Account
  332.  without requiring the Sysop to do anything at all 
  333.  
  334.   2ACTSM.EXE will be accessable without the use of Doorway
  335.  
  336.   More flexibility of control of User time allowances
  337.  
  338.   Non-standard com ports now supported
  339.  
  340.   QuickBASIC runtime module no longer required.
  341.  
  342.   Switch to disable extended CALLERS log entries - available
  343.   only to registered versions however.
  344.  
  345.  Quick Set-Up:
  346.  
  347.    This is for everyone that hates to read through the 
  348. documentation, and is not recommended for anyone not fully
  349. aware of how to setup PCBoard.  All references here, and
  350. changes to included files in the ZIP, assume you will be
  351. using 2ACT for an Adults area, with separate USERS and PWRD
  352. files. This is for one node only.
  353.   
  354. 1)  Create a new sub-directory (C:\PCB\ADULT)
  355. 2)  Copy your current PCBOARD.DAT, CNAMES, CNAMES.@@@ to it
  356. 3)  Run PCBSETUP.EXE in there, defining the new location for
  357.     the CNAMES, PCBOARD.DAT, USERS, and PWRD files.  You may
  358.     also wish to use that new sub-directory to place 
  359.     separate TCAN, FSEC, and UPSEC files, depending on your 
  360.     use.  Change all reference to adult specific files to
  361.     that a area, including PCBTEXT.  REMOVE ALL MODEM 
  362.     INITIALIZATION AND CONTROLS from the new PCBOARD.DAT,
  363.     and answer Y to Drop to DOS after each call.  Edit the
  364.     PWRD, FSEC, UPSEC,  TCAN files as you see fit.
  365. 4)  Place all the files from the 2ACT ZIP in the new sub-
  366.     directory
  367. 5)  Run PCBSM and place your sysop alias in record 1
  368. 6)  Edit the 2ACT.CFG file to reflect your proper sub-
  369.     directories (you may want to review page ## to set user
  370.     access also)
  371. 7)  Run 2ACTSM to initialize the 2ACT.NAM file
  372. 8)  Edit the first account's DOORS.LST file to add the new
  373.     "door" and the DOORS menu (suggested to name it ADULTS).
  374. 9)  Copy the enclosed SECOND file to your main PCB
  375.     directory, and edit it to reflect proper paths to files,
  376.     and rename it to ADULTS if using it as expected.
  377. 10) If using Doors from this area, the ADULTS.BAT will have
  378.     to be altered to also have proper sub-directories, to
  379.     return to the Adults Board after the door has been
  380.     exited
  381. 11) Try it out!  If you like it... Please register, and you
  382.     can have  faster, more seamless operation, and the latest version
  383.     sent to you - including version 3.0 when released (100% 
  384.     seamless - no displays to users)
  385.  
  386.  Set-up:
  387.  
  388.     It is assumed the Second account will not share 100% of
  389.  the files with the first account, and a separate
  390.  sub-directory will be used for all files particular to each
  391.  Second account (and node) in use.
  392.  
  393.     If you expect to use more than one Second Account,
  394.  decide all the parameters for each carefully for getting
  395.  started - the possible layout of individual access becomes
  396.  virtually limitless.  Read the section on Applications
  397.  prior to setting up for some guidelines.  
  398.  These set-up procedures are for the most common, and
  399.  simple, use of PCB Second Account, which is the first
  400.  defined under Applications.
  401.  
  402.     Create a sub-directory:  C:\PCB\SECOND   suggested name
  403.     Most likely, you will be sharing most parameters and
  404.  files with the first account, so copy that account's
  405.  CNAMES.* and PCBOARD.DAT file to C:\PCB\SECOND\
  406.     If only minor changes are expected in any of the account
  407.  specific files, copy those over also at this time.
  408.  
  409.     Run PCBSETUP.EXE and change the parameters for file
  410.  location for the files to be located for only this Second
  411.  Account.
  412.     Expected to be: USERS, CNAMES, BRDM, PCBTEXT, TCAN
  413.     And possibly: DOWNLOAD.TXT, PWRD, UPSEC
  414.     And anything else you feel should be account specific.
  415.     If you wish to use an Alias as Sysop, place that Alias
  416.  in Record #1 of the Users file, and set the "Use Real
  417.  Name?" flag to Y.
  418.      If to run under multiple nodes, create a separate
  419.  sub-directory for each node, as: C:\PCB\SECOND2  for Node
  420.  2, etc.
  421.     Copy the PCBOARD.DAT from C:\PCB\SECOND to each nodes
  422.  second account sub-directory, and run PCBSETUP to change
  423.  node specific parameters.
  424.     It is assumed no other files will exist in this
  425.  sub-directory other than BAT files required for file
  426.  transfer, or possibly EVENT.SYS and such.
  427.     Copy all the 2ACT files to your C:\PCB\SECOND
  428.  sub-directory.
  429.     Edit the 2ACT.CFG to relect your requirements.  If
  430.  additional nodes will be used, copy the 2ACT.CFG to nodes
  431.  new sub-directory also (ie: C:\PCB\SECOND\NODE2) and edit
  432.  that copy to show the proper files locations for that node.
  433.     Run 2ACTSM (or 2ACTCVT if upgrading from ver.1.1) to
  434.  initialize the 2ACT.NAM file.  No entry required for the
  435.  Sysop in this file, but you may wish to enter a User (or
  436.  many) at this time depending on your configuration.
  437.  
  438.   Edit your Doors.1st file to include 2ACT as a door, and
  439.  then place it in your Doors Menu.
  440.     Edit the 2ACT file to use the parameters required for
  441.  your system.
  442.  If multi-node, then copy it to each nodes first PCBoard
  443.  directory, and edit each to reflect what is needed to
  444.  access the proper node's sub-directory.
  445.     Done!
  446.  
  447.  Files Included in the 2ACT##.ZIP:
  448.  
  449. 2ACT.EXE     - The main Second Account program
  450. 2ACT.CFG     - Configuration file, must be edited for your
  451.                system
  452. 2ACTADD.EXE  - Program to add new users to the 2ACT.NAM file
  453.                automatically
  454. 2ACTSM.EXE   - Maintenance program for 2ACT.NAM file
  455. NOGOOD.MSG   - Message shown to User when unrecoverable
  456.                error occurs
  457. NEWGUY.MSG   - Message to be displayed to a new Second
  458.                Account User
  459. NOTALLOW.MSG - Message to show a User flagged as Not ALLOWed
  460.              (file REQUIRED if not registered)
  461. LOCKED.MSG   - Message to be shown to a LOCKed out User
  462.              (file REQUIRED if not registered)
  463. 2ACT         - Example of a calling BAT file to run 2ACT
  464. SECOND.BAT   - Example of BAT to reload from a Door
  465. ANYDOOR      - Example of how to run a Door from the second
  466.                account, and to properly return to the second
  467.                account
  468. PCBSYS.HLD   - An "empty" PCBoard.sys file you may choose to
  469.                use for security reasons
  470. KEYSTUFF     - example file to force NEWS reading once per
  471.                day - PCBoard 14.5a required for this feature
  472.  
  473. Files that will be created by 2ACT:
  474.  
  475. 2ACT.NAM     - Stores first account & second account names,
  476.                and the lock and allow flags for each user
  477. NOGOOD.      - 0 byte file created if 2ACT cannot handle the
  478.                user for any reason not covered elsewhere
  479.                This filename can be changed by an entry in
  480.                2ACT.CFG
  481. NEWGUY.      - 0 byte file created when a user with no entry
  482.                in the 2ACT.NAM file enters  This filename
  483.                can be changed by an entry in 2ACT.CFG
  484. 1STTIME      - 0 byte file created if the User is entering
  485.                the Second Account for the first time that
  486.                day   This filename can be changed by an
  487.                entry in 2ACT.CFG
  488.  
  489. Miscellaneous:
  490.  
  491.    It is assumed in the examples that you have a file called
  492.  BOARD.BAT that will load the first account, with all proper
  493.  checks for event and door use.
  494.  
  495.  Files Detail:
  496.  
  497. 2ACT - File to be opened as a Door by PCBoard, it must be
  498.  defined in your DOORS.LST
  499.  
  500. cd\pcb\second
  501. if exist 2act$.bat del 2act$.bat
  502. if exist endpcb del endpcb
  503. if exist door.bat del door.bat
  504. if exist newguy del newguy
  505. if exist nogood del nogood
  506. c:\util\2act
  507. rem if exist newguy goto end
  508. rem if exist nogood goto end
  509. if exist 1sttime copy keystuff pcbstuff.kbd
  510. call 2act$.bat
  511. if not exist newguy goto done
  512. c:\util\2actadd
  513. :done
  514. if exist door.bat door
  515. if exist event.bat event
  516. if exist endpcb goto end
  517. second
  518. :end
  519. copy pcbsys.hld pcboard.sys
  520. c:
  521. cd\pcb
  522. board
  523.  
  524.  Description -
  525.  
  526.     Notice that if 2ACT fails to properly build the BAT file
  527.  to load the second PCB account, it will definitely return
  528.  to the first account.  Also, you may want to include the
  529.  line to copy a "dummy" PCBoard.sys (included) prior to
  530.  reloading the first account in case there is an error of
  531.  any sort, and the PCBoard.sys in place has Sysop access! 
  532.  This insures no one gets accidental Sysop access, which
  533.  could occur if the system had a boot in the middle of the
  534.  session.  This same situation is true of any door, or exit
  535.  to DOS, usually trusted to the DTR check.  If you have a
  536.  first STARTUP.BAT that runs after the AUTOEXEC.BAT upon
  537.  boot, you may like to use such a line to clear the 2nd
  538.  account PCBoard.sys and any PCBoard.sys accessible even in
  539.  a first account where loss of carrier detect will not clear
  540.  it, as, if you allow Local logons this is possible also.
  541.  This "empty" PCBoard.sys isa clean alternative to checking
  542.  for a User's Password upon return to the board from a door.
  543.     Using the "dummy PCBoard.sys" is required if you allow
  544.  the User to exit the BBS from within the Second Account. 
  545.  If you do not allow it, and the User drops carrier, PCBoard
  546.  will properly recycle, and reload the first account, which
  547.  will then also recycle due to carrier loss.
  548.   While this is slow, it is not insecure unless you have
  549.  Users without modem use.  You may choose to create a
  550.  command called "OFF" to allow Users to exit the BBS from
  551.  the Second Account to quickly restore the BBS online.  See
  552.  the information on this command later.
  553.  
  554.     That is basically what is required in the Door calling
  555.  the second PCBoard to load.  You will have to include all
  556.  the other checks used as necessary, if you plan to open
  557.  doors, run an event, etc. from the second PCBoard loaded.
  558.  
  559.  SECOND.BAT - this file is not required unless you choose to
  560.  run a door from within the second account, and it then must
  561.  be used to reload the second account.  Notice where it is
  562.  called in the SECOND file, which is copied over to a
  563.  DOOR.BAT by PCBoard when the second account is accessed. 
  564.  This means  you do have the alternative of insteading
  565.  loading the DOOR.BAT found in the first account
  566.  sub-directory, but I believe you will find this method
  567.  cleaner.
  568.  
  569. if exist endpcb del endpcb
  570. if exist door.bat del door.bat
  571. c:\pcb\pcb145
  572. :done
  573. if exist door.bat door
  574. if exist event.bat event
  575. if exist endpcb goto end
  576. second
  577. :end
  578. copy pcbsys.hld pcboard.sys
  579. c:
  580. cd\pcb
  581. board
  582.  
  583.    Notice that it should appear identical to your BOARD.BAT
  584.  file you use for the first account, except that it will
  585.  reload itself if the ENDPCB file is not found.  Your
  586.  BOARD.BAT should call BOARD in that case, as the first
  587.  account always reloads if no ENDPCB is found, as both the
  588.  first & second accounts then assume you are returning from
  589.  either a Door or the daily Event.
  590.  
  591.  ANYDOOR - example of a generic door loading file, PCBoard
  592. will copy the contents to a DOOR.BAT when the ANYDOOR is
  593. called.  The ANYDOOR must be the actual name of the Door
  594. being called listed in the DOORS.LST file.  This example is
  595. meant to run ANYDOOR from the second account, then return
  596. to the second account after exiting.
  597.  
  598. cd\doors
  599. mydoor
  600. c:
  601. cd\pcb\second
  602. second
  603.  
  604.    This is assuming you created the SECOND.BAT, rather than
  605.  reloading from the first account DOOR.BAT still sitting in
  606.  the first account sub-directory.
  607.  
  608. 2ACT.NAM:
  609.  
  610.    ASCII file of 52 byte records, holds User names for 1st
  611.  account and second account, and flags for LOCK and ALLOW
  612.  for each.
  613.  
  614.    Note:  The following applies to the ver.2.0 file, though
  615.  the first 3 records are not used by 2ACT or 2ACTSM until
  616.  the 3.0 release.
  617.  
  618.    First 3 records hold User names of Users allowed to
  619.  change their logon names into Second Account for
  620.  maintenance reasons - the second half of each such entry is
  621.  their password to enter 2ACT maintenance.  The LOCK and
  622.  ALLOW flags are ignored in those records, as those Users
  623.  are given the option of either maintenance or access every
  624.  time 2ACT is accessed, and those Users must have a separate
  625.  entry for alias use also - upon such User choosing to
  626.  access the second account, the record with the alias is
  627.  used.
  628.  
  629.    Note: At this time, 2ACTSM.EXE can only be run locally or
  630.  through the use of DOORWAY over the modem, and does not
  631.  recognize the first three entries in any manner.
  632.  
  633.    Under Sysop maintenance, the LOCK flag can be set on/off
  634.  for any User registered in the .NAM file.  The Sysop can
  635.  create a record and LOCK any User regardless of whether
  636.  he/she has a record in the PCBoard Users file.
  637.  
  638.    This file is created when 2ACTCVT is run.  This 2ACT.NAM
  639.  file MUST be created prior to running 2ACT.  See the
  640.  information on running 2ACTCVT.
  641.  
  642.  2ACT.CFG
  643.  
  644.    This file must be located in the directory from which
  645.  @ACT
  646.  is called, and contains all needed filenames and flags for
  647.  2ACT.
  648.  
  649.   Line 1 - drive, path, filename of first account
  650.            PCBoard.sys
  651.   Line 2 - drive, path, filename of first account USERS file
  652.   Line 3 - drive, path, filename of 2nd account PCBoard.sys
  653.   Line 4 - drive, path, filename of 2nd account USERS file
  654.   Line 5 - drive, path, filename of 2nd account PWRD file
  655.   Line 6 - drive, path, filename of CALLERS file to log info
  656.   Line 7 - drive, path, filename to create NOGOOD file
  657.   Line 8 - drive, path, filename of message if NOGOOD
  658.            created
  659.   Line 9 - drive, path, filename to create NEWGUY file
  660.  Line 10 - drive, path, filename of message if NEWGUY
  661.            created
  662.  Line 11 - command to load PCBoard
  663.  Line 12 - drive, path, filename of 2ACT.NAM file
  664.  Line 13 - LOCK feature - MUST be Y, N or ALL
  665.  Line 14 - drive, path, filename of message if User LOCKed.
  666.            out
  667.  Line 15 - ALLOW feature - MUST be Y, N or ALL
  668.  Line 16 - drive, path, filename of message if User not
  669.            ALLOWed
  670.  Line 17 - drive, path, filename to create 1STTIME file
  671.  Line 18 - Reserved until version 3.0 - MUST be set to N
  672.  Line 19 - Reserved until version 3.0 - MUST be set to N
  673.  Line 20 - Y here inhibits most log entries (registered only)
  674.  Line 21 - STANDARD, or IRQ# ### (IRQ number & address)
  675.  Line 22 - Name of your BBS, for display on entry
  676.  Line 23 - Registration number
  677.  
  678.   The first 6 lines are self-explanatory.  2ACT must know
  679.  where to locate all access PCBoard files.  It is allowed to
  680.  use the same files for both first and second accounts if so
  681.  required.
  682.  
  683.  Line 11 - this is written to the BAT file that loads the
  684.            second PCBoard account, and would normally be
  685.            just:  c:\pcb\pcb145   It is included only so you
  686.            have the option of placing any  switches required
  687.            by you on this line
  688.   Note: Do NOT place any modem control switches (C:##, ERR)
  689.  or an error will occur
  690.  
  691.   Line 12 - most likely, c:\pcb\second\2act.nam - where all
  692.            User info required to access Second Account is
  693.            stored
  694.  Line 13 - LOCK line - MUST be N, Y or ALL
  695.            This allows turning on/off the flag placed in the
  696.            .NAM file to lock-out a User from being effective
  697.            - and the method of handling New Users not
  698.            listed in the .NAM file.  It is also important
  699.            when running 2ACTCVT.EXE and 2ACTADD.EXE - please
  700.            see the references under those headings.
  701.  
  702.     Set to Y:
  703.      LOCK parameter in use - The LOCK flag of the .NAM file
  704.  will be checked for all Users before allowing access.  If
  705.  the User flag in .NAM is set to Y, the User is exited, with
  706.  no explanation.
  707.      If the User flag is set to N, the User is not locked
  708.  out, and PCB2ACT allows the second account to be loaded.
  709.  
  710.     Set to N:
  711.      LOCK parameter is disabled, all Users have access based
  712.  on other parameters set, even if they are flagged as LOCKed
  713.  
  714.     Set to ALL:
  715.      If set to ALL, every User is assumed to be LOCKed out
  716.  of the second account, unless they already have a valid
  717.  entry (without the LOCK set to Y) in the .NAM file.
  718.      If set to ALL, it is assumed a relatively small number
  719.  of users have access to the Second Account (or Sysop
  720.  maintenance would be a lot of work!), so the .NAM file is
  721.  searched BEFORE sending the notice to the User that the
  722.  Second Account is loading.  If no entry exists for the
  723.  User, Second Account exits with no message.
  724.      It is suggested you alter the PCBTEXT file (Record 549)
  725.  no say nothing to the User if you use the ALL feature. 
  726.  Then the User will get no display whatsoever of the attempt
  727.  to load the Second Account if he has not previously been
  728.  given access.
  729.  
  730.  Line 14 - if a User is LOCKed out, either because of Line
  731.            13 being set to ALL, or his LOCK flag set by the
  732.            Sysop in 2ACT.NAM, this file will be displayed to
  733.            the User.
  734.            Note: placing any single character (preferably N)
  735.            in this line means NO message will be displayed
  736.  
  737.   Line 15 - ALLOW line - MUST be set to Y, N or ALL
  738.            This controls how Users are handled, generally
  739.            New Users into the Second Account.
  740.  Set to N:
  741.       Flag which can be set by the Sysop in 2ACT.NAM is
  742.       ignored entirely
  743.  Set to Y:
  744.       Only Users with the ALLOW flag set to Y in the
  745.       2ACT.NAM file are allowed in.  This does not stop
  746.       anyone with no record from entry. New Users placed
  747.       with an N in their ALLOW flag.
  748.  Set to ALL:
  749.       Same as Y, but, when 2ACTADD places a New User, this
  750.       will set the Users ALLOW flag to Y.
  751.  
  752.  Line 16 - if a User is not ALLOWed, by his ALLOW flag, this
  753.            file will be displayed to the User.
  754.            Note: placing any single character (preferably N)
  755.            in this line means NO message will be displayed
  756.  
  757.  Line 17 - file to be created the first time a User enters
  758.            each day  If set to N, no file is created
  759.  
  760.  Lines 18 & 19 are currently reserved, and portions of
  761.           their parameters are already included in the
  762.           version 2.0.  These lines MUST be set to N
  763.           at this time, or unpredictable actions may occur.
  764.           These lines will be used to control additional    
  765.           functions of time control, maintenance, and files
  766.           display in the future.
  767.  
  768.  Line 20 - no effect here if unregistered - registered versions
  769.           should have entry of either Y or N however.  If set
  770.           to N all available CALLERS log entries are made.  If
  771.           set to Y, then only the login and errors are written
  772.           to the CALLERS log, saving time & space.
  773.  
  774.  Line 21 - if you are using non-standard IRQ assignments for
  775.            accessing your COM port on this node, this line
  776.            must show it as IRQ#.  Enter the letters IRQ
  777.            followed by the number assignment for this COM
  778.            port (without spaces between them, and with IRQ
  779.            in all CAPS.  One space must follow, then the 3
  780.            digits that give the hex base address.  These
  781.            two items must be identical to the entry placed in
  782.            PORT under Modem Configuration in PCBSETUP.  The
  783.            word STANDARD should remain if a standard port used.
  784.  
  785.  Line 22 - your BBS name as you wish it to appear upon
  786.            Second Account entry
  787.  
  788.  Line 23 - registration number for your BBS only
  789.            Placing any value other than one assigned to you
  790.            will result in it being ignored
  791.  
  792.  2ACTADD.EXE
  793.    This MUST be run to add a User to the 2ACT.NAM file.
  794. Usually called from the same BAT file that called the second
  795. account, it  will read the last User record of the second
  796. account USERS file and check for an entry of that User in
  797. the 2ACT.NAM.  If no entry exists, the new entry is made. 
  798. The LOCK flag will not be set, and the ALLOW flag will be
  799. set based upon the parameters the Sysop placed in the ALLOW
  800. line of the 2ACT.CFG.
  801.    The Sysop can choose to enter any User with 2ACTSM
  802. instead, but most likely, with the possiblities covered for
  803. New Users via the flags specified in the 2ACT.CFG, this
  804. program will be able to handle the situation you have
  805. common to your BBS.
  806.  
  807. NOGOOD
  808.   This file is built when 2ACT is unable to decide how to
  809. handle a user for some reason, and exits back to the first
  810. account.  It is written only in case the Sysop has a reason
  811. to check at another level for access to the second account.
  812. It can be checked for in the BAT file if the Sysop requires
  813. it for other use.
  814.   This filename can be changed to whatever you require by
  815. entry in the 2ACT.CFG file.
  816.  
  817. NEWGUY
  818.   This file is built when no account if found for the user
  819. in the 2ACT.NAM file.  Its existence means the user will
  820. not have a PCBOARD.SYS file written for him, and must enter
  821. the second account as a New User.  If you choose, this can
  822. be used to call other programs you may need to run.  It is
  823. expected you will use a check for this file to run the
  824. 2ACTADD.EXE to place the users alias in the 2ACT.NAM file
  825. when he exits the second account.
  826.   If you choose not to use it for that purpose, remember the
  827. user will again register in the second account the next
  828. time he tries if no entry is made.  I do not suggest
  829. ignoring NEWGUY.
  830.  
  831. 2ACTCVT.EXE
  832.   This utility is provided for anyone previously having been
  833. using the old version of 2ACT which read User information
  834. from the Sysop maintained Comment 2 of the USERS file. 
  835. Based upon the 2ACT.CFG file, it will construct the
  836. 2ACT.NAM file with what should be acceptable for your use.
  837.   This program will write the first 3 records of the
  838. 2ACT.NAM file as names of a series of "X"s.  Those fields
  839. are reserved for a future release of the 2ACTSM maintenance
  840. program.
  841.  
  842.  1STTIME
  843.   This file is created if the User is entering for the first
  844. time since midnite that day. It is useless unless PCB 14.5a
  845. (or newer) is in use which allows stuffing keystrokes into
  846. a PCBSTUFF.KBD file.  It also allows forcing a display to
  847. the User upon return from a door by placing the file to be
  848. displayed in a file called PCBDOOR.TXT. Either way, a file
  849. to force keystrokes or a display is meant to be copied over
  850. by the "if exist" in the BAT file.
  851.  
  852.  Board Files:
  853.  
  854.     When you set up the second account, it is assumed you
  855. have created separate sub-directory for that account, and
  856. certain files in there are not shared with the first
  857. account.  All other files should be the same as the first
  858. account.  Some suggestions are shown elsewhere in this
  859. documentation.
  860.  
  861.  
  862.     It is suggested you make several changes to your PCBTEXT
  863. file to be used in the Second Account - such as a change to
  864. the initial logon for a New User of the Second Account to
  865. insure he is prompted for an alias; also, it is a good idea
  866. to change the Main Command prompt to add a word to let the
  867. User realize he is in the Second Account; I made a few more
  868. changes - please review the enclosed version for ideas.
  869.  
  870.   PCBTEXT suggestions for the Second Account loaded:
  871. (this represents the enclosed PCBTEXT changes from 14.5a
  872. release copy)
  873.  
  874.  Record #:  New prompt:
  875.    1 Leave a comment for the Adult Sysop (Enter)=no
  876.    2 Your FULL REAL NAME
  877.    4 Time Limit Exceeded in Adults Board @FIRST@
  878.    8 Access Denied - This is a Private Conference @FIRST@
  879.   11 Sorry, @FIRST@, New Users are entered by the SYSOP ONLY
  880.   12 Security Violation(s) - Returning to Main Board!
  881.   28 Automatic Lock-Out done! User removed from Adults Area!
  882.   53 (R) to re-enter your ALIAS or (C) to continue logon
  883.      with NEW ALIAS
  884.   54 Do you wish to register your ALIAS now? (Enter)=yes
  885.      61 has nothing to do with 2ACT, but Users like it
  886.   61 (@BYTESLEFT@ left) Filename to Download (enter)=none
  887.   86 Pack the Adult User's file (enter)=no
  888.      118 shown if Alias is listed in TCAN file
  889.  118 Sorry, @FIRST@, only Proper Aliases are allowed ...
  890.  166 Now leaving the Adults Area @FIRST@!
  891.  192 Minutes Used Here: @OPTEXT@
  892.  259 First name of Alias
  893.  260 Last name of Alias
  894.  396 (@X0C@TIMELEFT@@X0E min. left) @INCONF@ (Adults)
  895.      Command
  896.  579 Paging the Adult Sysop
  897.  
  898.   For the PCBTEXT of the First Account, to be "seamless" to
  899.  enter 2ACT, I suggest one change.
  900.   Create an empty file (I called mine nuthin.) and edit
  901.  record 594 to be:
  902.   %c:\pcb\gen\nuthin and then no "Loading ADULTS..." is
  903.  displayed, but some may choose not to do this at this time.
  904.  
  905.   A future release of 2ACT will be ENTIRELY SEAMLESS
  906.  (nodisplays), and you may enjoy that at that time.
  907.  
  908. PCBOARD.DAT - Several lines of your Second Account
  909. PCBOARD.DAT file must be set as follows:
  910.   Modem Information -
  911.     Modem Initialization String, leave blank
  912.     Modem Offhook String, leave blank
  913.     Reset Modem During Recycle, N
  914.     Modem Off-hook during recycle, N
  915.     Leave DTR up at Drop to DOS, Y
  916.  Options # 1 -
  917.     Exit to DOS after each Call?  Must be Y to recycle
  918.     properly
  919.  
  920. Failure to set the "Exit to DOS" to "Y" can result in the
  921. wrong flagging within the USERNET.DAT file by PCBoard.
  922.  
  923.       The BRDM file normally used for the Main Menu should
  924.  have one major change.  Unless you chose to add a couple
  925.  lines in the calling BAT file to remove the "good"
  926.  PCBoard.sys written by the first account and force the User
  927.  to exit the system after leaving the second account, he
  928.  will be returned to the first account upon entering a G. 
  929.  The menu should reflect this (noticeably!) as "(G)o back to
  930.  Main Board" in some manner.
  931.  
  932.      The you may wish to use a different TCAN file on the
  933.  second account, as you may be more lenient (or strict) on
  934.  that account.
  935.  
  936.      The PCBoard CALLERS file defined by Sysop in the .CFG
  937.  file will log all important, or strange occurrences.  This
  938.  includes all new User access, all errors, and all
  939.  maintenance changes.
  940.  
  941.      For files, if you have different files areas in the 2
  942.  accounts, you may wish to use a different Download.txt file
  943.  for the second account, as this may greatly speed up
  944.  searches (Prowho), and give more accurate figures if you
  945.  use a utility that posts activities of the BBS.
  946.  
  947.      If you wish to allow Users to leave the BBS from the
  948.  Second Account it is best to create a Door called OFF.  If
  949.  you have made the other changes to PCBTEXT and the BRDM, it
  950.  will appear to be a command to the Users labelled OFF -
  951.  just include it in the BRDM and then define it in the
  952.  Doors.lst file.
  953.  
  954.  OFF
  955.   This will be copied to the Doors.bat by PCBoard when
  956.  invoked by the User, and its only purpose is to copy the
  957.  PCBSYS.HLD to BOTH the first and second account PCBoard.sys
  958.  files.  You may wish to reconsider allowing this however,
  959.  as it may not serve your purpose at this time.  If you
  960.  chose to run the time in the Second Account concurrent with
  961.  the time in the first account, the User logging off using
  962.  OFF will NOT get his USERS record updated with that Second
  963.  Account time subtraction.
  964.  
  965.  copy pcbsys.hld pcboard.sys
  966.  copy pcbsys.hld \pcb\pcboard.sys
  967.  cd\pcb
  968.  board
  969.  
  970.  
  971.  Errors:
  972.  
  973.    The 3 potential errors are either that the BRUN45.EXE
  974.  cannot be located in the path, the 2ACT.CFG file is missing
  975.  a needed line, or 2ACT cannot find a file listed in
  976.  2ACT.CFG because of a typo.
  977.  Be sure the filenames in the 2ACT.CFG are the same
  978.  filenames defined in your PCBSetup for the PCBoard.sys,
  979.  Users, and Pwrd files.
  980.  
  981.    In the event of an error that 2ACT cannot handle, NOGOOD
  982.  is created, and the User returned to the first account.
  983.    The most common reason for this is the Sysop removing the
  984.  User from the USERS file of the Second Account, but fails
  985.  to delete the User from the 2ACT.NAM file.  This causes no
  986.  problem, but the User will not understand what has
  987.  happened.
  988.  
  989.  Maintenance:
  990.  
  991.     Presently, maintenance is done using 2ACTSM.EXE and no
  992.  checking of who is accessing it is used.  DOORWAY is
  993.  required for maintenance online.  The 2ACTSM allows you to
  994.  perform all possibly required functions upon the 2ACT.NAM
  995.  file holding the names and flags of the users for the
  996.  Second Account of the 2ACT.CFG file being processed.
  997.     2ACTSM must be called from within the sub-directory
  998.  holding the 2ACT.CFG of the Second Account to be managed.
  999.     All edit and flag toggle functions are written
  1000.  immediately to the 2ACT.NAM file, not upon exiting the
  1001.  program.
  1002.  
  1003.     Important Note:  The first 3 entries of the 2ACT.NAM
  1004.  should NOT be altered.  They are presently not used by
  1005.  2ACTSM, but will be in the future to allow online
  1006.  management to 3 users, and those records cannot get in to
  1007.  the Second Account if those records are used for that
  1008.  purpose.  Prior to accessing 2ACT, 2ACTSM MUST be run to
  1009.  properly initialize the 2ACT.NAM file!
  1010.  
  1011.  Available commands for maintenance:
  1012.  
  1013.   (A)llow flag toggle
  1014.       This will reverse the current ALLOW flag setting of
  1015.       the current User record displayed
  1016.   (D)elete current User
  1017.       This will blank the "First Account Name", removing
  1018.       the current user from access.  It does not release the
  1019.       the "Second Account Name".  If (P)ack is not used
  1020.       after deleting an account, the "Second Account Name"
  1021.       cannot be reassigned by 2ACTADD if a New User entering
  1022.       Second Account chooses to use that name.  2ACT would
  1023.       treat any User later logging in with that Second
  1024.       Account name as a New User, and they would be forced
  1025.       to log on using all the normal PCBoard prompts when
  1026.       accessing the Second Account.
  1027.  
  1028.    (E)dit current User
  1029.       This makes the current record available for change,
  1030.       and you are prompted to change the First and Second
  1031.       Account names.
  1032.  
  1033.       The "Second Account Name" must have an entry, or the
  1034.       NOGOOD file will be created when the User enters, and
  1035.       no Second  Account access will be available.
  1036.  
  1037.       The LOCK and ALLOW flags will always be either Y or N.
  1038.       Use the A and L toggles to alter these entries.
  1039.  
  1040.   (F)ind Second Account name
  1041.       Search for User record by "Second Account Name"
  1042.  
  1043.   (L)ock flag toggle
  1044.       This will reverse the current LOCK flag setting of the
  1045.       current User record displayed
  1046.  
  1047.   (N)ew User entry
  1048.       Lets Sysop create a new record, and prompts for
  1049.       first & second account names, and LOCK & ALLOW flag
  1050.       types.
  1051.  
  1052.   (P)ack file
  1053.       Used to remove all deleted Users, it will create a
  1054.       2ACT.BAK
  1055.       and rewrite the 2ACT.NAM minus deleted Users
  1056.  
  1057.   (Q)uit
  1058.       Exits the program
  1059.  
  1060.   (S)earch for First Account Name
  1061.       Search for User record by "First Account Name"
  1062.  
  1063.    (##) locate record number ##
  1064.       Displays the record number entered.  Entering a
  1065.       non-existing record number results in the first
  1066.       available record being displayed.
  1067.  
  1068.   (O)utput list to printer
  1069.       Prints all records to the standard printer defined in
  1070.       the 2ACT.CFG.
  1071.  
  1072.   (P)ack 2ACT.NAM file
  1073.       This is used to delete empty records, and can speed
  1074.       access if many empty records exist.
  1075.  
  1076.   (S)econd account name search
  1077.       Search for User record by "Second Account Name"
  1078.  
  1079.   (X)pert menu toggle
  1080.       Toggles you between full menu, and a single line
  1081.       prompt.
  1082.   (#) find record number  Entering any number places you at
  1083.       that record number, but, will place you at record 1 if
  1084.       an invalid number entered 
  1085.  
  1086.  Applications:
  1087.  
  1088.   The following will show the combined effect of the LOCK
  1089.  and ALLOW flags in the 2ACT.CFG and each User's LOCK and
  1090.  ALLOW flags.
  1091.  
  1092.   In all cases shown, it is assumed the Sysop has messages
  1093.  defined for LOCKed out and NOT ALLOWED Users.  Leaving a
  1094.  single character for either of these message filenames
  1095.  within the 2ACT.CFG will result in no message file display
  1096.  in that case.  In the unregistered version, a message must
  1097.  be available in either case.
  1098.  
  1099.   In the following the "*" shows treatment of New User by
  1100.   2ACTADD.
  1101.  
  1102.  2ACT.CFG set as:    with 2ACT.NAM check result being:
  1103.  
  1104.  LOCK=N, ALLOW=ALL    New User w/o record - New User
  1105.                       allowed,  User entry should be placed
  1106.                       in BAT file by check of NEWGUY with
  1107. Used to allow any     2ACTADD.EXE
  1108. User in without
  1109. any checks by the   * New User will be entered with flags
  1110. Sysop/Co-Sysop        of:
  1111. required.             LOCK=N and ALLOW=Y
  1112.  
  1113.                       User w/LOCK=Y or w/LOCK=N - LOCK
  1114.                       ignored
  1115.  
  1116.                       w/ALLOW=N - User displayed NOT ALLOWED
  1117.                       message, returned to first account
  1118.                       w/ALLOW=Y - normal access to account
  1119.  
  1120. LOCK=N, ALLOW=Y       New User w/o record - New User allowed
  1121.                       to enter, but, it is assumed he is to
  1122.                       be assigned a level by PCBoard that
  1123.                       doesn't allow any privileges
  1124.  
  1125.                       User entry should be placed in BAT
  1126.                       file by check of NEWGUY with
  1127. Used to let Users     2ACTADD.EXE
  1128. register, but needs
  1129. Sysop/Co-Sysop      * New User will be entered with flags
  1130. to set ALLOW flag     of:
  1131.                       LOCK=N and ALLOW=N
  1132.  
  1133.                       User w/LOCK=Y or w/LOCK=N - LOCK]
  1134.                       ignored w/ALLOW=N - User displayed NOT
  1135.                       ALLOWED message, returned to first
  1136.                       account
  1137.                       w/ALLOW=Y - normal access to account
  1138.  
  1139. LOCK=N, ALLOW=M       New User w/o record - New User
  1140.                       allowed User entry should be placed in
  1141.                       BAT file by check of NEWGUY with      
  1142.                       2ACTADD.EXE
  1143.  
  1144.                     * New User will be entered with flags
  1145.                       of:
  1146.                       LOCK=N and ALLOW=Y by 2ACTADD.EXE
  1147.  
  1148.                       User w/LOCK=Y or w/LOCK=N - LOCK
  1149.                       ignored
  1150.                       User w/ALLOW=Y or w/ALLOW=N - ALLOW
  1151.                       ignored
  1152.                       User w/record is allowed normal
  1153.                       account access
  1154.  
  1155. LOCK=Y, ALLOW=ALL     New User w/o record - New User
  1156.                       allowed
  1157.                       User entry should be placed in BAT
  1158.                       file by check of NEWGUY with
  1159.                       2ACTADD.EXE
  1160.  
  1161.                     * New User will be entered with flags
  1162.                       of:
  1163.                       LOCK=N and ALLOW=Y by 2ACTADD.EXE
  1164.  
  1165.                       w/LOCK=Y - User displayed LOCKED OUT
  1166.                       message and returned to first account
  1167.                       User w/LOCK=N and:
  1168.                       w/ALLOW=N - User displayed NOT ALLOWED
  1169.                       message, returned to first account
  1170.                       w/ALLOW=Y - normal access to account
  1171.  
  1172. LOCK=Y, ALLOW=Y       New User w/o record - New User
  1173.                       allowed,
  1174.                       User entry should be placed in BAT
  1175.                       file by check of NEWGUY with
  1176.                       2ACTADD.EXE
  1177.  
  1178.                     * New User gets no entry in 2ACT.NAM
  1179.  
  1180.                       w/LOCK=Y - User displayed LOCKED OUT
  1181.                       message and returned to first account
  1182.                       User w/LOCK=N and:
  1183.                       w/ALLOW=N - User displayed NOT ALLOWED
  1184.                       message, returned to first account
  1185.                       w/ALLOW=Y - normal access to account
  1186.  
  1187.  LOCK=Y, ALLOW=N       New User w/o record - New User
  1188.                       allowed, User entry should be placed
  1189.                       in BAT file by check of NEWGUY with
  1190.                       2ACTADD.EXE
  1191.  
  1192.                     * New User gets no entry in 2ACT.NAM
  1193.  
  1194.                       w/LOCK=Y - User displayed LOCKED OUT
  1195.                       message and returned to first account
  1196.  
  1197.                       User w/LOCK=N and:
  1198.                       User w/ALLOW=Y or w/ALLOW=N - ALLOW
  1199.                       ignored, User w/record is allowed
  1200.                       normal account access
  1201.  
  1202.  
  1203.   All formats with LOCK=ALL prevent any access from any User
  1204.  not entered by the Sysop.  Combined with the PCBText
  1205.  change, and the intentional non-mention of the Door in the
  1206.  DOORS file, the User is returned to the first account
  1207.  within seconds of entering the command to load the door
  1208.  with no explanation.  It is suggested that the Sysop may
  1209.  choose to make the LOCKED.MSG read simply:
  1210.    (2ACT) is a Bad Command - Need (H)elp?   which will
  1211.  effectively make any unregistered User feel the 2ACT does
  1212.  nothing.
  1213.  
  1214.   LOCK=ALL, ALLOW=ALL      New User w/o record - New User is
  1215.                            returned to first account,
  1216.                            displayed LOCKED.MSG
  1217.  
  1218.                            If no LOCKED.MSG exists, the
  1219.                            User sees nothing in the
  1220.                            registered version 
  1221.  
  1222.                          * 2ACTADD should not be run for New
  1223.                            Users, but if run assigns
  1224.                            LOCK=Y AND ALLOW=Y
  1225. This configuration is
  1226. used to not allow any      User w/LOCK=Y - User displayed
  1227. New Users except via       LOCKED.MSG and returned to first
  1228. Sysop entry                account
  1229.                                         
  1230. This literally "hides"     User w/ LOCK=N and:
  1231. the Second Account         w/ALLOW=N - User displayed the
  1232.                            NOT ALLOWED message and returned
  1233.                            to first account
  1234.                            w/ALLOW=Y - access to account
  1235.  
  1236.  LOCK=ALL, ALLOW=Y         New User w/o record - New User is
  1237.                            returned to first account,
  1238.                            displayed LOCKED.MSG
  1239.                            If no LOCKED.MSG exists, the User
  1240.                            sees nothing in the registered
  1241.                            version
  1242.  
  1243.                          * 2ACTADD should not be run for New
  1244.                            Users, but if run assigns LOCK=Y
  1245.                            and ALLOW=N
  1246.   This configuration
  1247.   is used to not           w/LOCK=Y - User displayed LOCKED
  1248.   allow any New            OUT message and returned to 
  1249.   Users except via         to first account
  1250.   Sysop entry - it         User with LOCK=N and:
  1251.   literally "hides"        w/ALLOW=N - User displayed NOT
  1252.   the sub-board.           ALLOWED message, returned to
  1253.                            first account
  1254.   Same as above.           w/ALLOW=Y - normal access to
  1255.                            account
  1256.  
  1257.   LOCK=ALL, ALLOW=N        New User w/o record - New User is
  1258.                            returned to first account,
  1259.                            displayed LOCKED.MSG.  If no
  1260.                            LOCKED.MSG exists, the User sees
  1261.                            nothing in the registered
  1262.                            version
  1263.  
  1264.                          * 2ACTADD should not be run for New
  1265.                            Users, but if run assigns LOCK=Y
  1266.                            and ALLOW=Y
  1267.  This configuration
  1268.  is used to not            w/LOCK=Y - User displayed LOCKED
  1269.  allow any New             OUT message and returned to
  1270.  Users except via          first account.
  1271.  Sysop entry - it
  1272.  literally "hides"         w/LOCK=N and:
  1273.  the sub-board.            User w/ALLOW=Y or w/ALLOW=N -
  1274.                            ALLOW ignored
  1275.  Same as above, but        User w/record is allowed normal
  1276.  no ALLOW function.        account access
  1277.  
  1278.                          Questions and Answers
  1279.  
  1280.   The following are the questions previously asked by Sysops
  1281.   using Second Account:
  1282.  
  1283. Q: The modem hangs up on the user as soon as 2ACT runs. Why?
  1284.  
  1285. A: 2ACT performs no modem controls, neither should anything
  1286.    else loaded after it runs. 
  1287.    Review the modem initialization settings in the second
  1288.    PCBOARD.DAT loaded, the second copy should do nothing. 
  1289.    Be sure you are using a DTR patched copy of BRUN45.EXE
  1290.  
  1291. Q: The user's time online comes straight from the PWRD file,
  1292.    and doesn't reflect time used.
  1293.  
  1294. A: This is only true on first entry, when the user must fill
  1295.    out his new informaiton.  After that, time used is in the
  1296.    PCBOARD.SYS file, and is not altered by 2ACT. 
  1297.    It is suggested you create a lower level for new users
  1298.    accessing the 2ACT for the first time, allowing only a
  1299.    short time in on that first logon.  This is expected if a
  1300.    Sysop is using it for adult access, as he is expected to
  1301.    confirm the user being allowed prior to higher access.
  1302.    An alternative method will be considered for a future
  1303.    release, as the Sysop may use 2ACT to prevent further
  1304.    access, which is most likely what you have decided to do.
  1305.